package com.demo.data;

public class Data 
{
	public static int PORT = 60000;
	
	public static int REQUEST_LOGIN = 0;	
	public static int REQUEST_ADD_DATA = 1;
	public static int REQUEST_UPDATE_DATA = 2;
	public static int REQUEST_DELETE_DATA = 3;
	public static int REQUEST_GET_DATA = 4;
	//data send struct
	//code
	//data
	//code
	//data
	//code
	//data
	//code
	//data
	public static int MSG_LOGIN_SUCCSESS = 0;
	public static int MSG_LOGIN_UNSUCCSESS = 1;
	public static int MSG_ADD_DATA_SUCCSESS = 2;
	public static int MSG_ADD_DATA_UNSUCCSESS = 3;
	public static int MSG_UPDATE_DATA_SUCCSESS = 4;
	public static int MSG_UPDATE_DATA_UNSUCCSESS = 5;
	public static int MSG_DELETE_DATA_SUCCSESS = 6;
	public static int MSG_DELETE_DATA_UNSUCCSESS = 7;
	public static int MSG_GET_DATA = 8;
	
	public static String MSG[] =
		{
			"Login succsessful",
			"Login false",
			"Add data succsessful",
			"Add data false",
			"Update data succsessful",
			"Update data false",
			"Delete data succsessful",
			"Delete data false",
			
		};
}
